<article>
<table>  
  <thead>
    <tr>
        <th colspan="3"><h2 id="titulo_form">REGISTROS ENCONTRADOS</h2></th>
    </tr>
    <tr>
      <th>Id</th>
      <th>Nombre</th>
      <th>Descripcion</th>
    </tr>
  </thead>
  <tbody>
    <?php if (count($becas) === 0):?>
  <th colspan="3"><h1 id="titulo_form">NO HAY NINGUN REGISTRO ASOCIADO</h1></th>
    <?php else:?>
    <?php foreach ($becas as $beca): ?>
    <tr>
      <td><a href="<?php echo url_for('becas/show?id='.$beca->getId()) ?>"><?php echo $beca->getId() ?></a></td>
      <td><a id="nombre_beca" href="<?php echo url_for('becas/show?id='.$beca->getId()) ?>"><?php echo $beca->getNombre() ?></a></td>      
      <td><?php echo $beca->getDescripcion() ?></td>
    </tr>
    <?php endforeach; ?>
    <?php endif; ?>
  </tbody>
</table>
</article>

<footer></footer>